package com.huazhi.wzsnw.service;

import com.huazhi.wzsnw.model.ServiceRecord;
import com.alibaba.fastjson.JSONObject;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ServiceRecordService {
    public ServiceRecord selectByPrimaryKey(String tid);
    public int insert(ServiceRecord serviceRecord);
    List<String> getServiceRecordList(String key, ServiceRecord serviceRecord);
    public int delete(ServiceRecord record);
    public int deletes(List<ServiceRecord> records);
    public int update(ServiceRecord record);
    public ServiceRecord findByTid(String tid);
    JSONObject getServiceRecordListOne(HttpServletRequest request);
    List<String> selectServiceRecordList(String key, ServiceRecord serviceRecord);
    List<String> getSearchServiceRecordList(HttpServletRequest request);
    public List<ServiceRecord> getListServiceRecordByListTid(List<String> stringList, Integer pageIndex, Integer pageSize);
}
